package com.tommy.financial.config.druid;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 * @Package Name: com.tommy.financial.config.druid
 * @Description: TODO
 * @Author Tommy
 * @Date 2019.09.27 23:16
 * @Modify Who      When     What
 * ---------- ----------- -------------
 */
@WebFilter(filterName="druidWebStatFilter",urlPatterns="/*",
        initParams={
                @WebInitParam(name="exclusions",value="*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*")//忽略资源
        }
)
public class DruidStatFilter extends WebStatFilter {
}

